package com.neusoft.html.parser.tree; class TreeBuilder { void a() { int a;
a=0;// .class abstract Lcom/neusoft/html/parser/tree/TreeBuilder;
a=0;// .super Ljava/lang/Object;
a=0;// .source "TreeBuilder.java"
a=0;// 
a=0;// 
a=0;// # instance fields
a=0;// .field protected baseUri:Ljava/lang/String;
a=0;// 
a=0;// .field protected currentToken:Lcom/neusoft/html/parser/tree/Token;
a=0;// 
a=0;// .field protected doc:Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;// .field protected errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;// .field reader:Lcom/neusoft/html/parser/tree/CharacterReader;
a=0;// 
a=0;// .field protected stack:Lcom/neusoft/html/parser/helper/DescendableLinkedList;
a=0;// 
a=0;// .field tokeniser:Lcom/neusoft/html/parser/tree/Tokeniser;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method constructor <init>()V
a=0;//     .locals 0
a=0;// 
a=0;//     .prologue
a=0;//     .line 9
a=0;//     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
a=0;// 
a=0;//     #p0=(Reference,Lcom/neusoft/html/parser/tree/TreeBuilder;);
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// 
a=0;// # virtual methods
a=0;// .method public clear()V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     const/4 v1, 0x0
a=0;// 
a=0;//     .line 57
a=0;//     #v1=(Null);
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->reader:Lcom/neusoft/html/parser/tree/CharacterReader;
a=0;// 
a=0;//     .line 58
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->tokeniser:Lcom/neusoft/html/parser/tree/Tokeniser;
a=0;// 
a=0;//     .line 59
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->doc:Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/nodes/Document;);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 61
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->doc:Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     invoke-virtual {v0}, Lcom/neusoft/html/parser/nodes/Document;->clear()V
a=0;// 
a=0;//     .line 63
a=0;//     :cond_0
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->stack:Lcom/neusoft/html/parser/helper/DescendableLinkedList;
a=0;// 
a=0;//     if-eqz v0, :cond_1
a=0;// 
a=0;//     .line 65
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->stack:Lcom/neusoft/html/parser/helper/DescendableLinkedList;
a=0;// 
a=0;//     invoke-virtual {v0}, Lcom/neusoft/html/parser/helper/DescendableLinkedList;->clear()V
a=0;// 
a=0;//     .line 66
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->stack:Lcom/neusoft/html/parser/helper/DescendableLinkedList;
a=0;// 
a=0;//     .line 68
a=0;//     :cond_1
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->baseUri:Ljava/lang/String;
a=0;// 
a=0;//     .line 69
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->currentToken:Lcom/neusoft/html/parser/tree/Token;
a=0;// 
a=0;//     .line 70
a=0;//     iput-object v1, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     .line 71
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method protected currentElement()Lcom/neusoft/html/parser/nodes/Element;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 53
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->stack:Lcom/neusoft/html/parser/helper/DescendableLinkedList;
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/helper/DescendableLinkedList;);
a=0;//     invoke-virtual {v0}, Lcom/neusoft/html/parser/helper/DescendableLinkedList;->getLast()Ljava/lang/Object;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     check-cast v0, Lcom/neusoft/html/parser/nodes/Element;
a=0;// 
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method protected initialiseParse(Ljava/lang/String;Ljava/lang/String;Lcom/neusoft/html/parser/tree/ParseErrorList;)V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 19
a=0;//     const-string v0, "String input must not be null"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {p1, v0}, Lcom/neusoft/html/parser/helper/Validate;->a(Ljava/lang/Object;Ljava/lang/String;)V
a=0;// 
a=0;//     .line 20
a=0;//     const-string v0, "BaseURI must not be null"
a=0;// 
a=0;//     invoke-static {p2, v0}, Lcom/neusoft/html/parser/helper/Validate;->a(Ljava/lang/Object;Ljava/lang/String;)V
a=0;// 
a=0;//     .line 22
a=0;//     new-instance v0, Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/nodes/Document;);
a=0;//     invoke-direct {v0, p2}, Lcom/neusoft/html/parser/nodes/Document;-><init>(Ljava/lang/String;)V
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/nodes/Document;);
a=0;//     iput-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->doc:Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     .line 23
a=0;//     new-instance v0, Lcom/neusoft/html/parser/tree/CharacterReader;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/tree/CharacterReader;);
a=0;//     invoke-direct {v0, p1}, Lcom/neusoft/html/parser/tree/CharacterReader;-><init>(Ljava/lang/String;)V
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/CharacterReader;);
a=0;//     iput-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->reader:Lcom/neusoft/html/parser/tree/CharacterReader;
a=0;// 
a=0;//     .line 24
a=0;//     iput-object p3, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->errors:Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     .line 25
a=0;//     new-instance v0, Lcom/neusoft/html/parser/tree/Tokeniser;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/tree/Tokeniser;);
a=0;//     iget-object v1, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->reader:Lcom/neusoft/html/parser/tree/CharacterReader;
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/CharacterReader;);
a=0;//     invoke-direct {v0, v1, p3}, Lcom/neusoft/html/parser/tree/Tokeniser;-><init>(Lcom/neusoft/html/parser/tree/CharacterReader;Lcom/neusoft/html/parser/tree/ParseErrorList;)V
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/Tokeniser;);
a=0;//     iput-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->tokeniser:Lcom/neusoft/html/parser/tree/Tokeniser;
a=0;// 
a=0;//     .line 26
a=0;//     new-instance v0, Lcom/neusoft/html/parser/helper/DescendableLinkedList;
a=0;// 
a=0;//     #v0=(UninitRef,Lcom/neusoft/html/parser/helper/DescendableLinkedList;);
a=0;//     invoke-direct {v0}, Lcom/neusoft/html/parser/helper/DescendableLinkedList;-><init>()V
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/helper/DescendableLinkedList;);
a=0;//     iput-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->stack:Lcom/neusoft/html/parser/helper/DescendableLinkedList;
a=0;// 
a=0;//     .line 27
a=0;//     iput-object p2, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->baseUri:Ljava/lang/String;
a=0;// 
a=0;//     .line 28
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method parse(Ljava/lang/String;Ljava/lang/String;)Lcom/neusoft/html/parser/nodes/Document;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 31
a=0;//     invoke-static {}, Lcom/neusoft/html/parser/tree/ParseErrorList;->noTracking()Lcom/neusoft/html/parser/tree/ParseErrorList;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/ParseErrorList;);
a=0;//     invoke-virtual {p0, p1, p2, v0}, Lcom/neusoft/html/parser/tree/TreeBuilder;->parse(Ljava/lang/String;Ljava/lang/String;Lcom/neusoft/html/parser/tree/ParseErrorList;)Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method parse(Ljava/lang/String;Ljava/lang/String;Lcom/neusoft/html/parser/tree/ParseErrorList;)Lcom/neusoft/html/parser/nodes/Document;
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 35
a=0;//     invoke-virtual {p0, p1, p2, p3}, Lcom/neusoft/html/parser/tree/TreeBuilder;->initialiseParse(Ljava/lang/String;Ljava/lang/String;Lcom/neusoft/html/parser/tree/ParseErrorList;)V
a=0;// 
a=0;//     .line 36
a=0;//     invoke-virtual {p0}, Lcom/neusoft/html/parser/tree/TreeBuilder;->runParser()V
a=0;// 
a=0;//     .line 37
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->doc:Lcom/neusoft/html/parser/nodes/Document;
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/nodes/Document;);
a=0;//     return-object v0
a=0;// .end method
a=0;// 
a=0;// .method protected abstract process(Lcom/neusoft/html/parser/tree/Token;)Z
a=0;// .end method
a=0;// 
a=0;// .method protected runParser()V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 42
a=0;//     :cond_0
a=0;//     iget-object v0, p0, Lcom/neusoft/html/parser/tree/TreeBuilder;->tokeniser:Lcom/neusoft/html/parser/tree/Tokeniser;
a=0;// 
a=0;//     #v0=(Reference,Lcom/neusoft/html/parser/tree/Tokeniser;);
a=0;//     invoke-virtual {v0}, Lcom/neusoft/html/parser/tree/Tokeniser;->read()Lcom/neusoft/html/parser/tree/Token;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 43
a=0;//     invoke-virtual {p0, v0}, Lcom/neusoft/html/parser/tree/TreeBuilder;->process(Lcom/neusoft/html/parser/tree/Token;)Z
a=0;// 
a=0;//     .line 45
a=0;//     iget-object v0, v0, Lcom/neusoft/html/parser/tree/Token;->type:Lcom/neusoft/html/parser/tree/Token$TokenType;
a=0;// 
a=0;//     sget-object v1, Lcom/neusoft/html/parser/tree/Token$TokenType;->EOF:Lcom/neusoft/html/parser/tree/Token$TokenType;
a=0;// 
a=0;//     #v1=(Reference,Lcom/neusoft/html/parser/tree/Token$TokenType;);
a=0;//     if-ne v0, v1, :cond_0
a=0;// 
a=0;//     .line 48
a=0;//     return-void
a=0;// .end method
}}
